<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9"/>
<title>NGUI: UITable Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI
   &#160;<span id="projectnumber">3.11.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_table.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_u_i_table-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UITable Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>All children added to the game object with this script will be arranged into a table with rows and columns automatically adjusting their size to fit their content (think "table" tag in HTML).  
 <a href="class_u_i_table.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UITable:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_table.png" usemap="#UITable_map" alt=""/>
  <map id="UITable_map" name="UITable_map">
<area href="class_u_i_widget_container.html" title="Widget container is a generic type class that acts like a non-resizeable widget when selecting things..." alt="UIWidgetContainer" shape="rect" coords="0,56,116,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac7726d0a83320499eadb657e950c3c6a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7726d0a83320499eadb657e950c3c6a"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Direction</b> { <b>Down</b>, 
<b>Up</b>
 }</td></tr>
<tr class="separator:ac7726d0a83320499eadb657e950c3c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82238ba2eacdc24226fac04908a6e502"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82238ba2eacdc24226fac04908a6e502"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Sorting</b> { <br />
&#160;&#160;<b>None</b>, 
<b>Alphabetic</b>, 
<b>Horizontal</b>, 
<b>Vertical</b>, 
<br />
&#160;&#160;<b>Custom</b>
<br />
 }</td></tr>
<tr class="separator:a82238ba2eacdc24226fac04908a6e502"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2f1e7841b7745a9be49d8f14a314b82d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f1e7841b7745a9be49d8f14a314b82d"></a>
delegate void&#160;</td><td class="memItemRight" valign="bottom"><b>OnReposition</b> ()</td></tr>
<tr class="separator:a2f1e7841b7745a9be49d8f14a314b82d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e596ed8886ae89f1259f7e1ce3cf271"><td class="memItemLeft" align="right" valign="top">List&lt; Transform &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a6e596ed8886ae89f1259f7e1ce3cf271">GetChildList</a> ()</td></tr>
<tr class="memdesc:a6e596ed8886ae89f1259f7e1ce3cf271"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current list of the grid's children.  <a href="#a6e596ed8886ae89f1259f7e1ce3cf271">More...</a><br /></td></tr>
<tr class="separator:a6e596ed8886ae89f1259f7e1ce3cf271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a414b8f7250d06d08c3e71175b68ff9ea"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a414b8f7250d06d08c3e71175b68ff9ea">Reposition</a> ()</td></tr>
<tr class="memdesc:a414b8f7250d06d08c3e71175b68ff9ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recalculate the position of all elements within the table, sorting them alphabetically if necessary.  <a href="#a414b8f7250d06d08c3e71175b68ff9ea">More...</a><br /></td></tr>
<tr class="separator:a414b8f7250d06d08c3e71175b68ff9ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab30118fe19c7915b9dc1e43fe7056d5a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#ab30118fe19c7915b9dc1e43fe7056d5a">columns</a> = 0</td></tr>
<tr class="memdesc:ab30118fe19c7915b9dc1e43fe7056d5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">How many columns there will be before a new line is started. 0 means unlimited.  <a href="#ab30118fe19c7915b9dc1e43fe7056d5a">More...</a><br /></td></tr>
<tr class="separator:ab30118fe19c7915b9dc1e43fe7056d5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a900248fc91fb26ffea79df3336689d90"><td class="memItemLeft" align="right" valign="top">Direction&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a900248fc91fb26ffea79df3336689d90">direction</a> = Direction.Down</td></tr>
<tr class="memdesc:a900248fc91fb26ffea79df3336689d90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Which way the new lines will be added.  <a href="#a900248fc91fb26ffea79df3336689d90">More...</a><br /></td></tr>
<tr class="separator:a900248fc91fb26ffea79df3336689d90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b527f35bd97a0852b83d6df8775a832"><td class="memItemLeft" align="right" valign="top">Sorting&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a0b527f35bd97a0852b83d6df8775a832">sorting</a> = Sorting.None</td></tr>
<tr class="memdesc:a0b527f35bd97a0852b83d6df8775a832"><td class="mdescLeft">&#160;</td><td class="mdescRight">How to sort the grid's elements.  <a href="#a0b527f35bd97a0852b83d6df8775a832">More...</a><br /></td></tr>
<tr class="separator:a0b527f35bd97a0852b83d6df8775a832"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc1c53b38aff2048aa0b1ffdbaeaf948"><td class="memItemLeft" align="right" valign="top">UIWidget.Pivot&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#afc1c53b38aff2048aa0b1ffdbaeaf948">pivot</a> = UIWidget.Pivot.TopLeft</td></tr>
<tr class="memdesc:afc1c53b38aff2048aa0b1ffdbaeaf948"><td class="mdescLeft">&#160;</td><td class="mdescRight">Final pivot point for the table itself.  <a href="#afc1c53b38aff2048aa0b1ffdbaeaf948">More...</a><br /></td></tr>
<tr class="separator:afc1c53b38aff2048aa0b1ffdbaeaf948"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e60648cfc8f04c2653a6efaf9ece0b8"><td class="memItemLeft" align="right" valign="top">UIWidget.Pivot&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a9e60648cfc8f04c2653a6efaf9ece0b8">cellAlignment</a> = UIWidget.Pivot.TopLeft</td></tr>
<tr class="memdesc:a9e60648cfc8f04c2653a6efaf9ece0b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Final pivot point for the table's content.  <a href="#a9e60648cfc8f04c2653a6efaf9ece0b8">More...</a><br /></td></tr>
<tr class="separator:a9e60648cfc8f04c2653a6efaf9ece0b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe95a12fb85385343193d19ccb252e23"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#afe95a12fb85385343193d19ccb252e23">hideInactive</a> = true</td></tr>
<tr class="memdesc:afe95a12fb85385343193d19ccb252e23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether inactive children will be discarded from the table's calculations.  <a href="#afe95a12fb85385343193d19ccb252e23">More...</a><br /></td></tr>
<tr class="separator:afe95a12fb85385343193d19ccb252e23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80a36c4366c7cd7dabbc19f2e280a32"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#ae80a36c4366c7cd7dabbc19f2e280a32">keepWithinPanel</a> = false</td></tr>
<tr class="memdesc:ae80a36c4366c7cd7dabbc19f2e280a32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the parent container will be notified of the table's changes.  <a href="#ae80a36c4366c7cd7dabbc19f2e280a32">More...</a><br /></td></tr>
<tr class="separator:ae80a36c4366c7cd7dabbc19f2e280a32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad33409c18867fa3f2908e438e57a375b"><td class="memItemLeft" align="right" valign="top">Vector2&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#ad33409c18867fa3f2908e438e57a375b">padding</a> = Vector2.zero</td></tr>
<tr class="memdesc:ad33409c18867fa3f2908e438e57a375b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Padding around each entry, in pixels.  <a href="#ad33409c18867fa3f2908e438e57a375b">More...</a><br /></td></tr>
<tr class="separator:ad33409c18867fa3f2908e438e57a375b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e529499320f74f3ea3717083edb7761"><td class="memItemLeft" align="right" valign="top">OnReposition&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a9e529499320f74f3ea3717083edb7761">onReposition</a></td></tr>
<tr class="memdesc:a9e529499320f74f3ea3717083edb7761"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delegate function that will be called when the table repositions its content.  <a href="#a9e529499320f74f3ea3717083edb7761">More...</a><br /></td></tr>
<tr class="separator:a9e529499320f74f3ea3717083edb7761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1586555d9e50ac38c8d3f0c5e4a5e766"><td class="memItemLeft" align="right" valign="top">System.Comparison&lt; Transform &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a1586555d9e50ac38c8d3f0c5e4a5e766">onCustomSort</a></td></tr>
<tr class="memdesc:a1586555d9e50ac38c8d3f0c5e4a5e766"><td class="mdescLeft">&#160;</td><td class="mdescRight">Custom sort delegate, used when the sorting method is set to 'custom'.  <a href="#a1586555d9e50ac38c8d3f0c5e4a5e766">More...</a><br /></td></tr>
<tr class="separator:a1586555d9e50ac38c8d3f0c5e4a5e766"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a43cec437851fa89b3c85c92e9bb6ca24"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a43cec437851fa89b3c85c92e9bb6ca24">Sort</a> (List&lt; Transform &gt; list)</td></tr>
<tr class="memdesc:a43cec437851fa89b3c85c92e9bb6ca24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Want your own custom sorting logic? Override this function.  <a href="#a43cec437851fa89b3c85c92e9bb6ca24">More...</a><br /></td></tr>
<tr class="separator:a43cec437851fa89b3c85c92e9bb6ca24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7e1c819dc56a85a3f2e7bf036a2c766"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#af7e1c819dc56a85a3f2e7bf036a2c766">Start</a> ()</td></tr>
<tr class="memdesc:af7e1c819dc56a85a3f2e7bf036a2c766"><td class="mdescLeft">&#160;</td><td class="mdescRight">Position the grid's contents when the script starts.  <a href="#af7e1c819dc56a85a3f2e7bf036a2c766">More...</a><br /></td></tr>
<tr class="separator:af7e1c819dc56a85a3f2e7bf036a2c766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2306d6fa895ccd248784c7b0e83be048"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a2306d6fa895ccd248784c7b0e83be048">Init</a> ()</td></tr>
<tr class="memdesc:a2306d6fa895ccd248784c7b0e83be048"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the necessary components.  <a href="#a2306d6fa895ccd248784c7b0e83be048">More...</a><br /></td></tr>
<tr class="separator:a2306d6fa895ccd248784c7b0e83be048"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90b128f674c211fdcab800118fd0fe89"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a90b128f674c211fdcab800118fd0fe89">LateUpdate</a> ()</td></tr>
<tr class="memdesc:a90b128f674c211fdcab800118fd0fe89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is it time to reposition? Do so now.  <a href="#a90b128f674c211fdcab800118fd0fe89">More...</a><br /></td></tr>
<tr class="separator:a90b128f674c211fdcab800118fd0fe89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0f0d0daf124e9757c412dbf9798cca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#a7b0f0d0daf124e9757c412dbf9798cca">RepositionVariableSize</a> (List&lt; Transform &gt; children)</td></tr>
<tr class="memdesc:a7b0f0d0daf124e9757c412dbf9798cca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Positions the grid items, taking their own size into consideration.  <a href="#a7b0f0d0daf124e9757c412dbf9798cca">More...</a><br /></td></tr>
<tr class="separator:a7b0f0d0daf124e9757c412dbf9798cca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a733a834a9e67c4a6f9003cb4de37c1ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a733a834a9e67c4a6f9003cb4de37c1ae"></a>
<a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mPanel</b></td></tr>
<tr class="separator:a733a834a9e67c4a6f9003cb4de37c1ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1a2f963e9a0bffa7233b48c20f226af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1a2f963e9a0bffa7233b48c20f226af"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mInitDone</b> = false</td></tr>
<tr class="separator:aa1a2f963e9a0bffa7233b48c20f226af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a538ebd960e40bdcb3ca2d3faf3d57937"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a538ebd960e40bdcb3ca2d3faf3d57937"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mReposition</b> = false</td></tr>
<tr class="separator:a538ebd960e40bdcb3ca2d3faf3d57937"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:aac60df5aeea395deaa6abe350a965c18"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_table.html#aac60df5aeea395deaa6abe350a965c18">repositionNow</a><code> [set]</code></td></tr>
<tr class="memdesc:aac60df5aeea395deaa6abe350a965c18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reposition the children on the next Update().  <a href="#aac60df5aeea395deaa6abe350a965c18">More...</a><br /></td></tr>
<tr class="separator:aac60df5aeea395deaa6abe350a965c18"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>All children added to the game object with this script will be arranged into a table with rows and columns automatically adjusting their size to fit their content (think "table" tag in HTML). </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6e596ed8886ae89f1259f7e1ce3cf271"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;Transform&gt; UITable.GetChildList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current list of the grid's children. </p>

</div>
</div>
<a class="anchor" id="a2306d6fa895ccd248784c7b0e83be048"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITable.Init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Find the necessary components. </p>

</div>
</div>
<a class="anchor" id="a90b128f674c211fdcab800118fd0fe89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITable.LateUpdate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is it time to reposition? Do so now. </p>

</div>
</div>
<a class="anchor" id="a414b8f7250d06d08c3e71175b68ff9ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITable.Reposition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Recalculate the position of all elements within the table, sorting them alphabetically if necessary. </p>

</div>
</div>
<a class="anchor" id="a7b0f0d0daf124e9757c412dbf9798cca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UITable.RepositionVariableSize </td>
          <td>(</td>
          <td class="paramtype">List&lt; Transform &gt;&#160;</td>
          <td class="paramname"><em>children</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Positions the grid items, taking their own size into consideration. </p>

</div>
</div>
<a class="anchor" id="a43cec437851fa89b3c85c92e9bb6ca24"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITable.Sort </td>
          <td>(</td>
          <td class="paramtype">List&lt; Transform &gt;&#160;</td>
          <td class="paramname"><em>list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Want your own custom sorting logic? Override this function. </p>

</div>
</div>
<a class="anchor" id="af7e1c819dc56a85a3f2e7bf036a2c766"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITable.Start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Position the grid's contents when the script starts. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a9e60648cfc8f04c2653a6efaf9ece0b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UIWidget.Pivot UITable.cellAlignment = UIWidget.Pivot.TopLeft</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Final pivot point for the table's content. </p>

</div>
</div>
<a class="anchor" id="ab30118fe19c7915b9dc1e43fe7056d5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UITable.columns = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>How many columns there will be before a new line is started. 0 means unlimited. </p>

</div>
</div>
<a class="anchor" id="a900248fc91fb26ffea79df3336689d90"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Direction UITable.direction = Direction.Down</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Which way the new lines will be added. </p>

</div>
</div>
<a class="anchor" id="afe95a12fb85385343193d19ccb252e23"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UITable.hideInactive = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether inactive children will be discarded from the table's calculations. </p>

</div>
</div>
<a class="anchor" id="ae80a36c4366c7cd7dabbc19f2e280a32"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UITable.keepWithinPanel = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the parent container will be notified of the table's changes. </p>

</div>
</div>
<a class="anchor" id="a1586555d9e50ac38c8d3f0c5e4a5e766"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">System.Comparison&lt;Transform&gt; UITable.onCustomSort</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Custom sort delegate, used when the sorting method is set to 'custom'. </p>

</div>
</div>
<a class="anchor" id="a9e529499320f74f3ea3717083edb7761"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OnReposition UITable.onReposition</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delegate function that will be called when the table repositions its content. </p>

</div>
</div>
<a class="anchor" id="ad33409c18867fa3f2908e438e57a375b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector2 UITable.padding = Vector2.zero</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Padding around each entry, in pixels. </p>

</div>
</div>
<a class="anchor" id="afc1c53b38aff2048aa0b1ffdbaeaf948"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UIWidget.Pivot UITable.pivot = UIWidget.Pivot.TopLeft</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Final pivot point for the table itself. </p>

</div>
</div>
<a class="anchor" id="a0b527f35bd97a0852b83d6df8775a832"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Sorting UITable.sorting = Sorting.None</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>How to sort the grid's elements. </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="aac60df5aeea395deaa6abe350a965c18"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UITable.repositionNow</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reposition the children on the next Update(). </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/WorkDir/Unity3D_Work/taidou_arpg/Assets/NGUI/Scripts/Interaction/UITable.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_table.html">UITable</a></li>
    <li class="footer">Generated on Sat Jan 4 2020 22:30:28 for NGUI by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9 </li>
  </ul>
</div>
</body>
</html>
